<!DOCTYPE html>
<html>
<head>
<title>req_assign</title>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="X-UA-Compatible" content="IE=edge" />

<link rel="stylesheet" type="text/css"
	href="/codebase/fonts/font_roboto/roboto.css" />
<link rel="stylesheet" type="text/css" href="/codebase/dhtmlx.css" />
<!-- <script type="text/javascript" src="/codebase/dhtmlx.js" ></script> -->

<script type="text/javascript" src="/codebase/dhtmlxtabbar.js" /> 
<style>
div#simpleLog {
	height: 200px;
	font-family: Roboto, Arial, Helvetica;
	font-size: 14px;
	color: #404040;
	overflow: auto;
}

div#my_tabbar {
	width:1000px;
	height: 600px;
	border: 1px solid #dfdfdf;
}

</style>
<script>
	window.dhx.ajax.cache = true;
	var myForm, myForm2,myTabbar;
	
	var customCss = {
		video_bitrate : "validate_magenta",
		video_codec : "validate_orange"
	};
	
	function doOnLoad() {		
		
		myTabbar = new dhtmlXTabBar({
			parent: "my_tabbar",
			//close_button: true,
			//skin: skin,
			tabs: [
				{ id: "a1", text: "有需求", active: true },	
				{ id: "a2", text: "无需求" }
			]
		});		
		
		myTabbar.tabs("a1").attachURL("/test/test_new_select_req_have_reqno");
				
		
		myTabbar.tabs("a2").attachURL("/test/test_new_select_req_no_reqno");
		
		/* myTabbar.attachEvent("onTabClick", function(id, lastId){
			   if(id=="a1"){
				   //myTabbar.tabs("a1").attachURL("/test/test_new_select_req_have_reqno");
				   myTabbar.tabs("a1").reloadURL();
			   }
			   if(id=="a2"){
				   //myTabbar.tabs("a2").attachURL("/test/test_new_select_req_no_reqno");
				   myTabbar.tabs("a2").reloadURL();
			   }
			 
			}); */

	}	

</script>
</head>
<body onload="doOnLoad();">
<div id="select_req_id" name="select_req_id" th:text="${req_id}" style="display: none;" > </div>
	<table>
		<tr>
			<td>
				<div id="form_req_reject_details" ></div>
			</td>
		</tr>
	</table>		
	<table>
		<tr>
			<td>
				<div id="my_tabbar" ></div>
			</td>
		</tr>
	</table>
	<table>
		<tr>
			<td>
				<div id="form_btn" style="padding-left: 50px;"></div>
			</td>
		</tr>
		
	</table>
</body>
</html>